import { GET_USER_INFO } from '../constants';
const init = {
  userInfo: {},
};
export default function layout(state = init, action) {
  switch (action.type) {
    case GET_USER_INFO:
      return { ...state, userInfo: action.payload };
    default:
      return state;
  }
}
